home *** CD-ROM | disk | FTP | other *** search
/ Creative Computers / Creative Computers CD-ROM, Volume 1 (Legendary Design Technologies, Inc.)(1994).iso / shareware / management / screenmod / source / save.h < prev    next >
C/C++ Source or Header  |  1994-11-17  |  1KB  |  147 lines

  1.  
  2. UBYTE SGadget3SIBuff[50];
  3. struct StringInfo SGadget3SInfo = {
  4.     SGadget3SIBuff,
  5.     NULL,
  6.     0,
  7.     50,
  8.     0,
  9.     0,0,0,0,0,
  10.     0,
  11.     0,
  12.     NULL
  13. };
  14.  
  15. SHORT SBorderVectors1[] = {
  16.     0,0,
  17.     397,0,
  18.     397,9,
  19.     0,9,
  20.     0,0
  21. };
  22. struct Border SBorder1 = {
  23.     -1,-1,
  24.     3,0,JAM1,
  25.     5,
  26.     SBorderVectors1,
  27.     NULL
  28. };
  29.  
  30. struct IntuiText SIText1 = {
  31.     3,0,JAM2,
  32.     49,-16,
  33.     NULL,
  34.     (UBYTE *)"Enter filename to store Screen Settings.",
  35.     NULL
  36. };
  37.  
  38. struct Gadget SGadget3 = {
  39.     NULL,
  40.     20,24,
  41.     396,8,
  42.     NULL,
  43.     RELVERIFY+STRINGCENTER,
  44.     STRGADGET,
  45.     (APTR)&SBorder1,
  46.     NULL,
  47.     &SIText1,
  48.     NULL,
  49.     (APTR)&SGadget3SInfo,
  50.     NULL,
  51.     NULL
  52. };
  53.  
  54. SHORT SBorderVectors2[] = {
  55.     0,0,
  56.     91,0,
  57.     91,15,
  58.     0,15,
  59.     0,0
  60. };
  61. struct Border SBorder2 = {
  62.     -1,-1,
  63.     3,0,JAM1,
  64.     5,
  65.     SBorderVectors2,
  66.     NULL
  67. };
  68.  
  69. struct IntuiText SIText2 = {
  70.     1,0,JAM2,
  71.     22,4,
  72.     NULL,
  73.     (UBYTE *)"CANCEL",
  74.     NULL
  75. };
  76.  
  77. struct Gadget SGadget2 = {
  78.     &SGadget3,
  79.     331,45,
  80.     90,14,
  81.     NULL,
  82.     RELVERIFY,
  83.     BOOLGADGET,
  84.     (APTR)&SBorder2,
  85.     NULL,
  86.     &SIText2,
  87.     NULL,
  88.     NULL,
  89.     2,
  90.     NULL
  91. };
  92.  
  93. SHORT SBorderVectors3[] = {
  94.     0,0,
  95.     91,0,
  96.     91,15,
  97.     0,15,
  98.     0,0
  99. };
  100. struct Border SBorder3 = {
  101.     -1,-1,
  102.     3,0,JAM1,
  103.     5,
  104.     SBorderVectors3,
  105.     NULL
  106. };
  107.  
  108. struct IntuiText SIText3 = {
  109.     1,0,JAM2,
  110.     36,4,
  111.     NULL,
  112.     (UBYTE *)"OK",
  113.     NULL
  114. };
  115.  
  116. struct Gadget SGadget1 = {
  117.     &SGadget2,
  118.     19,45,
  119.     90,14,
  120.     NULL,
  121.     RELVERIFY,
  122.     BOOLGADGET,
  123.     (APTR)&SBorder3,
  124.     NULL,
  125.     &SIText3,
  126.     NULL,
  127.     NULL,
  128.     1,
  129.     NULL
  130. };
  131.  
  132. struct NewWindow SaveWindow = {
  133.     100,68,
  134.     440,64,
  135.     0,1,
  136.     GADGETUP,
  137.     ACTIVATE+NOCAREREFRESH,
  138.     &SGadget1,
  139.     NULL,
  140.     NULL,
  141.     NULL,
  142.     NULL,
  143.     5,5,
  144.     -1,-1,
  145.     CUSTOMSCREEN
  146. };
  147.